home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
ABUSESRC.ZIP
/
AbuseSrc
/
abuse
/
inc
/
parse.hpp
< prev
next >
Wrap
C/C++ Source or Header
|
1996-01-24
|
483b
|
19 lines
#ifndef __PARSE_HPP_
#define __PARSE_HPP_
enum { sEND,sNUMBER,sSTRING,sWORD,sOPERATOR,sLEFT_BRACE,sRIGHT_BRACE,
sLEFT_PAREN,sRIGHT_PAREN,sASSIGNMENT,sCOMMA } ;
extern char *ttype[];
void expect(int thing, int type, char *where);
void skip_space(char *&s);
int get_token(char *&s, char *buffer);
int token_type(char *s);
void next_token(char *&s);
int get_number(char *&s);
void get_filename(char *&s, char *buffer);
void match_right(char *&s);
#endif